<!DOCTYPE html>
<html>
<head>
    <title>模具异常记录</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <Card v-show="showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="moduleError" :rules="ruleValidate" :label-width="80">
            <Row>
                <i-col span="11">
                    <Form-item label="模具编码" prop="moduleCode">
                        <i-input v-model="moduleError.moduleCode" placeholder="模具编码" readonly></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11">
                    <Form-item label="是否关闭" prop="isOff">
                        <Radio-group v-model="moduleError.isOff">
                            <Radio :label="1" ><span>是</span></Radio>
                            <Radio :label="0" ><span>否</span></Radio>
                        </Radio-group>
                        <!--<i-input v-model="moduleError.isOff" placeholder="是否关闭"></i-input>-->
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="11">
                    <Form-item label="是否更换备件" prop="isReplaceSparepart">
                        <Radio-group v-model="moduleError.isReplaceSparepart">
                            <Radio :label="1" ><span>是</span></Radio>
                            <Radio :label="0" ><span>否</span></Radio>
                        </Radio-group>
                        <!--<i-input v-model="moduleError.isReplaceSparepart" placeholder="是否更换备件"></i-input>-->
                    </Form-item>
                </i-col>
                <i-col span="11">
                    <Form-item label="维护日期" prop="maintainTime">
                        <Date-picker type="date" format="yyyy-MM-dd" v-model="moduleError.maintainTime" placeholder="维护日期"></Date-picker>
                        <!--<i-input v-model="moduleError.maintainTime" placeholder="维护日期"></i-input>-->
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="11">
                    <Form-item label="产品系列" prop="productSeries">
                        <i-input v-model="moduleError.productSeries" placeholder="产品系列"  readonly icon="md-arrow-dropdown-circle" @on-click="getProdect"></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11">
                    <Form-item label="产品类型" prop="productType">
                        <i-input v-model="moduleError.productType" placeholder="产品类型" readonly></i-input>
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="11">
                    <Form-item label="模具类型" prop="moduleType">
                        <i-input v-model="moduleError.moduleType" icon="md-arrow-dropdown-circle"
                                 @on-click="typeTree" readonly="readonly" placeholder="模具类型"></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11">
                    <Form-item label="现象描述" prop="description">
                        <i-input type="textarea" v-model="moduleError.description" placeholder="现象描述"></i-input>
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="11">
                    <Form-item label="处理建议" prop="dealSuggest">
                        <i-input type="textarea"  v-model="moduleError.dealSuggest" placeholder="处理建议"></i-input>
                    </Form-item>
                </i-col>
                <i-col span="11">
                    <Form-item label="处理意见" prop="dealOpinion">
                        <i-input type="textarea"  v-model="moduleError.dealOpinion" placeholder="处理意见"></i-input>
                    </Form-item>
                </i-col>
            </Row>

        </i-form>
    </Card>
</div>
<div id="TypeLayer" style="display: none;padding:10px;">
    <ul id="TypeTree" class="ztree"></ul>
</div>
<script src="${rc.contextPath}/js/sys/addModulExcept.js?_${date.systemTime}"></script>
</body>
</html>
